home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Programming Contest / Secret Solutions Folder / Problem 07 - Graph / Solution.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-13  |  557 b   |  24 lines  |  [TEXT/CWIE]

  1. #ifndef __SOLUTION_H__
  2. #define __SOLUTION_H__
  3.  
  4. // Do not modify this file
  5.  
  6. #include <MacTypes.h>
  7. #include <Files.h>
  8.  
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif // __cplusplus
  12.  
  13. typedef UInt32 *UInt32ArrayPtr;
  14. typedef UInt32  **UInt32ArrayHandle;
  15.  
  16. pascal void GraphInit( Handle *graph, UInt32 verticies );
  17. pascal void GraphAddDirectedEdge( Handle graph, UInt32 vertex1, UInt32 vertex2 );
  18. pascal void GraphFindRoute( Handle graph, UInt32 vertex1, UInt32 vertex2, UInt32ArrayHandle *verticies );
  19.  
  20. #ifdef __cplusplus
  21. }
  22. #endif // __cplusplus
  23.  
  24. #endif // __SOLUTION_H__